package com.javaweb.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Objects;

@Data
public class NCJztStock {
    private String dbilldate;
    private String invcode;
    private String invname;
    private String vlotno;
    private BigDecimal nonhandnum;
    private BigDecimal jztnum;
    private BigDecimal diffnum;
    private String checkStatus;

    @Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (!(obj instanceof NCJztStock)) return false;
        NCJztStock stock = (NCJztStock) obj;
        return Objects.equals(invcode, stock.invcode) && Objects.equals(vlotno, stock.vlotno);
    }

}